package texture;

import java.util.HashMap;
import java.util.Map;

public class RegistrySimple<K, V> implements IRegistry<K, V> {
	protected final Map<K, V> registryObjects = new HashMap<>();

	public V getObject(K key) {
		return this.registryObjects.get(key);
	}

	public void putObject(K key, V value) {
		this.registryObjects.put(key, value);
	}
}
